package io.xccit.deepseek.enums;

import lombok.Getter;

/**
 * @author CH_ywx
 * @version 1.0
 * @create 2025/4/7
 * <p>SSE消息类型枚举</p>
 */
@Getter
public enum MessageType {
    MESSAGE("message","普通消息"),
    ERROR("error","错误消息"),
    END("end","结束消息"),
    START("start","开始消息"),
    STREAM("stream","流式消息"),
    FINISH("finish","结束消息"),
    DONE("done","完成消息"),
    ADD("add", "流式消息");

    private final String type;
    private final String desc;
    MessageType(String type, String desc) {
        this.type = type;
        this.desc = desc;
    }
}
